package com.mrzhou.study.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mrzhou.common.entity.nacos.NacosUser;
import com.mrzhou.study.datasource.CutDataSource;
import com.mrzhou.study.mapper.NacosUserMapper;
import com.mrzhou.study.service.INacosUserService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@CutDataSource(name = "slave")
public class NacosUserServiceImpl extends ServiceImpl<NacosUserMapper, NacosUser> implements INacosUserService {

    @Override
    public List<NacosUser> list() {
        return super.list();
    }

    @Override
    public List<NacosUser> list(Wrapper<NacosUser> queryWrapper) {
        return super.list(queryWrapper);
    }
}
